#!/bin/sh

# Define GWT Client, RPC and Server project homes
CLIENT = "~/Programming/workspace/modular_gwt_client"
RPC = ~/Programming/workspace/modular_gwt_rpc
SERVER = ~/Programming/workspace/modular_gwt_server

# Copy files from Client to Server
cp -r $CLIENT/war/modular_gwt $SERVER/WebContent/
cp -r $CLIENT/war/WEB-INF $SERVER/WebContent/
cp -r $CLIENT/war/*.html $SERVER/WebContent/
cp -r $CLIENT/war/*.css $SERVER/WebContent/

# Copy Jar from RPC to Server
cp $RPC/distribution/*.jar $SERVER/WebContent/WEB-INF/lib